Added login redirect to all pages except for the login.php form to redirect when there is no active session.