Refactor admin related actions