complete the original functions of the chatroom
add tech report doc