adding login, logoff, sendmessage