link, open the register modal
        registerLink.onclick = function (event) {
          event.preventDefault();
          loginModal.style.display = 'none';
          registerModal.style.display = 'block';
        }

        // When the user clicks the login link, open the login modal
        loginLink.onclick = function (event) {
          event.preventDefault();
          registerModal.style.display = 'none';
          loginModal.style.display = 'block';
        }

        // When the user clicks on <sp