eUser(user, nav);
              } else {
                setTimeout(function() {
                  setUser(user);
                }, 500);
              }
            }

            function onSignIn(googleUser) {
              var profile = googleUser.getBasicProfile();
              console.log('ID: ' + profile.getId()); // Do not send to your backend! Use an ID token instead.
              jQuery("#status").text("Thanks for logging in with Google, " + profile.getName() + "!");
              setUser({
   