<commit_before>module.exports = function(app, passport, models) {

	app.get('/', function(request, response) {
		response.render('pages/index')
	});

	app.get('/student', function(request, response) {
		response.render('pages/student')
	});

	app.get('/instructor', function(request, response) {
		response.render('pages/instructor')
	});

	app.get('/author', function(request, response) {
		response.render('pages/author')
	});

	app.get('/developer', function(request, response) {
		response.render('pages/developer')
	});
<commit_msg>Pages now are passed the current user as a parameter (ejs).<commit_after>module.exports = function(app, passport, models) {

	app.get('/', function(request, response) {
		response.render('pages/index', { user : request.user })
	});

	app.get('/student', function(request, response) {
		response.render('pages/student', { user : request.user })
	});

	app.get('/instructor', function(request, response) {
		response.render('pages/instructor', { user : request.user } )
	});

	app.get('/author', function(request, response) {
		response.render('pages/author', { user : request.user })
	});

	app.get('/developer', function(request, response) {
		response.render('pages/developer', { user : request.user })
	});

{'fraction_non_alphanumeric': 0.19101123595505617, 'fraction_numerical': 0.0, 'mean_word_length': 5.024154589371981, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7333730', 'n_tokens_mistral': 402, 'n_tokens_neox': 375, 'n_words': 68}