socket url is now dynamic