refactor scope routes with path prefix