refactoring users recipe