using mongoose db connection to save sessions
now with login route in th e user.js in routes