Messaging service, login state cleanup