authenticator); session_start(); session_destroy(); setcookie('auth', "", time()); page_head("Logged out"); echo "You are now logged out"; page_tail(); } else { error_page("not logged in"); } ?>