finished the chatroom assignment