refactoring users page