Gb refactor apprenticeships controller