put confirm_logged_in fx in session.php and added it to staff.php.