Reimplement express-session and connect-mongo