admin theme refactor