fixed passport errors, fixed redirects, utilized connect-flash