Implemented Logout in Profile.php