refactor users route