Installed Passport.
Miscellaneous fixes to app.js.