documentation of the lib/user.js file and minor changes in the documentation of user-session.js