Update socket.js * switched to name importing io * passing in an options object to socket.io func. setting withCredentials to true