register/login works with passport.js