/* 
 * This file exports the configuration Express.js back to the application
 * so that it can be used in other parts of the product.
 */

var path = require('path');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');

exports.setup = function(app, express) {
	app.use(logger('dev'));
	app.use(bodyParser.json());
	app.use(bodyParser.urlencoded({ extended: false }));
	app.use(cookieParser());
	app.use(express.static(path.join(__dirname, 'public')));
}
@@ -278,16 +278,58 @@
 arser');
+%0Avar session = require('express-session');
 %0A%0Aexport
@@ -493,24 +493,116 @@
 eParser());%0A
+  app.use(session(%7B secret: 'mylittlesecret' , resave: false, saveUninitialized: false %7D));%0A
 %09app.use(exp

Add express-session and create a new session