added the functionality of sending message timestamp along with message