{
          const user = result.user
          console.log(user);
        }).catch((error) => {
          const errorCode = error.code;
          const errorMessage = error.message;
        });
      }

      const userSignOut = async () => {
        signOut(auth).then(() => {
          alert("You have signed out successfully!");
        }).catch((error) => {})
      }

      onAuthStateChanged(auth, (user) => {
        if (user) {
          signOutButton.style.display = "block";
          message.style.dis