fix socket.io link on index
add sample local.env file
remove console log