Updated Oauth authentication