added time to chatmessages