Refactored slashadmin controller.