user.js added, minor changes