Refactor admin routes