corrected multiuser chat logic joining room