remove debug statement in user.js and some phpdocs

Minor change.