changes to User.js