n
        window.addEventListener('popstate', function() {
            // This fires when back/forward buttons are used
            loadUsers();
            loadDashboardData();
            checkAndFixPlaceholders();
        });
        
        // Function to load dashboard data from API
        async function loadDashboardData() {
            try {
                const response = await fetch('/api/dashboard/data', {
                    headers: {
                        'Cache-Control': 'no-cache',
     