diff --git a/html/MCP/chat-logs/index.php b/html/MCP/chat-logs/index.php
index e841a77..5cc4a20 100644
--- a/html/MCP/chat-logs/index.php
+++ b/html/MCP/chat-logs/index.php
@@ -1,5 +1,10 @@
isStaff())
+{
+ redirect("/");
+}
+
$body = <<Chat Logs
You can sort by Censored, by username and search for words
diff --git a/html/MCP/chat-logs/loggedChats.php b/html/MCP/chat-logs/loggedChats.php
index da9b82b..eecdd84 100644
--- a/html/MCP/chat-logs/loggedChats.php
+++ b/html/MCP/chat-logs/loggedChats.php
@@ -9,6 +9,11 @@ header("Access-Control-Allow-Origin: https://www.alphaland.cc");
header("access-control-allow-credentials: true");
header('Content-Type: application/json');
+if(!$user->isStaff())
+{
+ redirect("/");
+}
+
//get params
$username = $_GET['username'];
$userid = getID($username);
diff --git a/html/MCP/invite-logs/index.php b/html/MCP/invite-logs/index.php
index 11f3b2d..6539dd7 100644
--- a/html/MCP/invite-logs/index.php
+++ b/html/MCP/invite-logs/index.php
@@ -1,8 +1,8 @@
isStaff()))
+if(!$user->isStaff())
{
- die();
+ redirect("/");
}
$alert = '';
diff --git a/html/MCP/invite-logs/inviteLogs.php b/html/MCP/invite-logs/inviteLogs.php
index bb346be..685cbfb 100644
--- a/html/MCP/invite-logs/inviteLogs.php
+++ b/html/MCP/invite-logs/inviteLogs.php
@@ -1,7 +1,8 @@
isStaff())) {
- die();
+if(!$user->isStaff())
+{
+ redirect("/");
}
//headers
diff --git a/html/MCP/reports/data/index.php b/html/MCP/reports/data/index.php
index dc4c5dc..5c1cc4b 100644
--- a/html/MCP/reports/data/index.php
+++ b/html/MCP/reports/data/index.php
@@ -4,6 +4,11 @@ header("Access-Control-Allow-Origin: https://www.alphaland.cc");
header("access-control-allow-credentials: true");
header('Content-Type: application/json');
+if(!$user->isStaff())
+{
+ redirect("/");
+}
+
$xml = file_get_contents('compress.zlib://PlayerReport.txt');
$validXML = true;
diff --git a/html/MCP/reports/view.php b/html/MCP/reports/view.php
index 34d5bc3..d538f0f 100644
--- a/html/MCP/reports/view.php
+++ b/html/MCP/reports/view.php
@@ -1,5 +1,10 @@
isStaff())
+{
+ redirect("/");
+}
+
if (!$_GET['id'])
{
redirect("/MCP/reports/");