added support for creating and getting chatrooms on the server side