Added session cookies

Cookie is set after successful login.
Added logout.php where the session cookie is deleted.