first connection of socket.io