Add assigning course functionality