a chatroom based on RMI interface