Protect admin pages

Change-Id: I09e77bf11424c7dbad22f925f2563138a5f9c563
diff --git a/admin/createtable.php b/admin/createtable.php
index 971499b..07ad979 100644
--- a/admin/createtable.php
+++ b/admin/createtable.php
@@ -1,6 +1,11 @@
 <?php
 	require '../credentials.php';
 	require '../php/utils.php';
+
+	$credentials = new Credentials();
+	if ($credentials->adminToken != ($_GET["token"] ?? "")) {
+		exit();
+	}
 	
 	$dbname = $_GET['dbname'];
 	$mortsname = $dbname . "_morts";