applied some fixes to the chat system like ensuring names are unique