Added Logout handling.