refactoring framework (phase 1.1 user routes)