[node in action]add chat room logic