diff --git a/whoami.php b/whoami.php
index 5f60418..43f6fb2 100644
--- a/whoami.php
+++ b/whoami.php
@@ -1,6 +1,10 @@
';
-echo $_SESSION['auth_charactername'].'
';
-echo $_SESSION['auth_characterhash'].'
';
-echo $_SESSION['auth_userdetails'].'
';
+if (isset($_SESSION['auth_characterid'])) {
+ echo $_SESSION['auth_characterid'].'
';
+ echo $_SESSION['auth_charactername'].'
';
+ echo $_SESSION['auth_characterhash'].'
';
+ echo $_SESSION['auth_userdetails'].'
';
+} else {
+ echo "You don't appear to be logged in.";
+}