Begun implementation of OAuth 2