Implemented send message in client