Support for logging out.