          'Content-Type': 'application/x-www-form-urlencoded',
              };

              const bodyContent = 'access_token=' + encodeURIComponent(access_token); // Encode the token

              const response = await fetch('/admin/check_admin', {
                method: 'POST',
                body: bodyContent,
                headers: headersList,
              });

              const data = await response.json();

              if (data.is_admin === true) {
                // User is an admin, c