add some send message functionality