Implemented server-side OAuth2 authentication with passport