Node.js chat application with rooms and passwords