checklogin.php function reset session