/logs') {
          mainTabFocus('logs');
        } else {
          mainTabFocus('main');
        }
      }

      window.addEventListener('popstate', () => {
        managePage()
      });

      managePage()

      // Logs functionality
      const logsTableBody = document.getElementById('logsTableBody');
      const logDetailsModal = document.getElementById('logDetailsModal');
      const logDetailsContent = document.getElementById('logDetailsContent');
      const closeModal = document.querySelector('.