<?session_start();

$_SESSION["username"]="";//remove username

session_destroy();//remove session

header("location:index.php");//auto relocate
?>
