Added send message functionality