refactor adminProfile