added competence search when adding a new course