Remove old id from Session when course deleted