added send message client functionality
added send message client functionality