Refactor out the admin area