change userdata.js to send json from each row