added timestamp to chat messages
message caching