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