corrected user.js