Put userIds in a HashSet.
Used a regex to parse the chat message.