added time to chatmessage