admin/index refactoring