Feature #4149 : changing the management of user accessLevel information.
- deleting some unused code
- refactoring some code