add console.log when connect socket.io