separate logged_in.php into smaller php files