Refactor admin/projects controller