FINALLY got the chat messages to work properly