adding missing user.js changes