renamed $oauthService to $oauthProvider