simple nodejs chat as an exercise