Refactor admin interface