make user.js load only when needed