Adding the Oauth2 in the back and the gapi.client in the front