second commit and build a framework of chat room