Added adapted chatroom project code