session = require 'express-session'
mongoStore = require('connect-mongo')(session)
mongoose = require 'mongoose'
app.use session
store: new mongoStore(mongoose_connection: mongoose.connection)
router.post '/login.html', passport.authenticate('local-login', {failureRedirect : '/login.html'}), controller.loginCreate