Chat service with socket.io and nodejs