function signIn(googleUser) {
    // Useful data for your client-side scripts:
  var profile = googleUser.getBasicProfile();
  console.log('ID: ' + profile.getId()); // Don't send this directly to your server!
  console.log('Name: ' + profile.getName());
  console.log('Image URL: ' + profile.getImageUrl());
  console.log('Email: ' + profile.getEmail());

    // The ID token you need to pass to your backend:
  var idToken = googleUser.getAuthResponse()['id_token'];
  console.log('ID Token: ' + idToken);
}

(function() {

function signOut() {
  var auth2 = gapi.auth2.getAuthInstance();
  auth2.signOut().then(function () {
    console.log('User signed out.');
  });
}

//document.getElementById('signOutLink')
//  .addEventListener('click', signOut, false);

})();
@@ -508,21 +508,8 @@
 %0A%7D%0A%0A
-(function() %7B
 %0A%0Afu
@@ -748,9 +748,4 @@
 );%0A%0A
-%7D)();

remove signout closure