Refactor admin controllers