Fixed undefined $_SESSION['admin'] checks.