beginning of user.js and minors changements