add timestamp to chat messages