const logInButton = document.getElementById('login-button'); const logOutButton = document.getElementById('logout-button'); if(logInButton) { logInButton.addEventListener('click', () => { window.location.href = "/auth/login"; }); } if(logOutButton) { logOutButton.addEventListener('click', () => { window.location.href = "/auth/logout"; }); }