Working Oauth controller