creating logout

this is the logout file. Some other changes are needed on the profile.php