Updating views, error handling, form validation, and reducing number of queries via passport.js