Using Passport for login and creating mongodb