chatroom is modular, need to add comments and fix regex for security