ment.getElementById(`${tabName}-tab`).classList.add('active');
      }

      tabButtons.forEach(button => {
          button.addEventListener('click', (e) => {
            e.preventDefault();
            let tabName = button.getAttribute('data-tab');
            const href = tabName === 'logs' ? '/public/logs' : '/public/';
            history.pushState(null, '', href);
            mainTabFocus(tabName);
          });
      });

      function managePage() {
        if(window.location.pathname === '/public