added auth in mongo, module passport.js