refactored admin ui