/**
 * Check if user is logged in
 */
function authUser() {
    fetch('/login')
      .then(response => response.json())
      .then(userAuthInfo => {
        let loginButton = document.getElementById('google-login-button');
        let loginButtonText = document.getElementById('google-login-button-text');
        
        if(userAuthInfo.isLoggedIn) {
          loginButton.setAttribute('href', userAuthInfo.logoutUrl);
          loginButtonText.innerText('Sign out with Google');
        } else {
          loginButton.setAttribute('href', userAuthInfo.loginUrl);
          loginButtonText.innerText('Sign in with Google');
        }
      });
} 
/**
 * Check if user is logged in
 */
function authUser() {
    fetch('/login')
      .then(response => response.json())
      .then(userAuthInfo => {
        let loginButton = document.getElementById('google-login-button');
        let loginButtonText = document.getElementById('google-login-button-text');

        if(userAuthInfo.isLoggedIn) {
          loginButton.setAttribute('href', userAuthInfo.logoutUrl);
          loginButtonText.innerText('Sign out with Google');
        } else {
          loginButton.setAttribute('href', userAuthInfo.loginUrl);
          loginButtonText.innerText = 'Sign in with Google';
        }
      });
} 
Fix improper setting of loginButtonText's innerText property
Fix improper setting of loginButtonText's innerText property
