setup protector.php to go back to home page if not logged in