Filtered page number link to prevent further maniuplation. Also, provided
Filtered page number link to prevent further maniuplation. Also, provided
a way to have the upload user log out, clearing the session cookie.

file:a/index.php -> file:b/index.php
--- a/index.php
+++ b/index.php
@@ -107,6 +107,12 @@
 if ($hiddentracker == true)
 {
 	echo "Hello, <i>" . $_SESSION["username"] . "</i><br>";
+	echo "<a href=\"authenticate.php?status=logout\"><img src=\"images/logout.png\" border=\"0\" class=\"icon\" alt=\"Logout\" title=\"Logout\" /></a><a href=\"authenticate.php?status=logout\">Logout</a>";
+}
+
+session_start();
+if ($_SESSION['upload_logged_in'])
+{
 	echo "<a href=\"authenticate.php?status=logout\"><img src=\"images/logout.png\" border=\"0\" class=\"icon\" alt=\"Logout\" title=\"Logout\" /></a><a href=\"authenticate.php?status=logout\">Logout</a>";
 }
 ?>