demo for learing socket.io