refactored admin views