Adding Passport.js rearchitecture