Made Session Variables and also added the logout.php. Fixed the login/logout prob.