How to add or remove a teacher's name from courses?