Feature #4149 : deleted users are retrieved by their state and no more by access level
Feature #4149 : changing the management of user accessLevel information.
- deleting some unused code
- refactoring some code