Logout and other small changes.