Added service class to handle oauth.