Implemented sessions with connect-mongo

Sessions can now be accessed from the mongodb server, and persist
between server restarts and browser closes.