Adding send message functionallity.