is_loggedin() != true) { header("location: account.php"); } ?>
After reset, you will be kicked out to login again