/**
 * 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';
        }
      });
} 
@@ -144,34 +144,36 @@
 fo =%3E %7B%0A        
-le
+cons
 t loginButton = 
@@ -228,18 +228,20 @@
         
-le
+cons
 t loginB

Make variables in index.js consts