basic chatroom management backend