--changed "check_logged_in_user()" to "check_logged_in_admin_user()"
--aded "check_logged_in_user()" for main login checks
--added main cookie name