Chat application emits user messages to all users