Feature #4150 : user connection attempts before blocking user account
- using new containers created by Miguel
- renaming some methods
- refactoring some code