Added support for OAuth login