refactorized providers to use the new 'users' object of user objects