add basemessage and login_message