added Send message functionality