#84 fixed. Added a redirect in common.php to redirect when the user fails the checkSession() function.