database server changed User class to Chatroom