refactored users route