refactored.
changed to use new cookie-based session support.
given meaningful session id name.
added passport for authorization and removed unused underscore module.
rough passport configuration to authenticate users.
refactored views to create a script block and include scripts from the templates.
Created new login view.
added login router.
added passport authentication using username/password strategy.
removed unused route.