Logout now propperly destroys the session.