Implemented registration, and login with passport.js