guid == $page_owner->guid) { // admin could log in as the anon user to set some things if ($user->guid != elgg_get_logged_in_user_guid()) { admin_gatekeeper(); } } }