Added new OAuth2 endpoints