professor_signed_in -> can_i_manage_this_course?, and add notice.edit view.
add permit_user! before_action to manage course only he have. and add destroy action to subject.
course.show view update, and updating subject.edit view...
fixed subject.update error. add id field to deadlines_attributes.