login & message sending