Refactor and add to admin content routes