Logout, adding messages with name