add assignment validation to subject.show, assignment.show and create. and fixed course.show.
fixed redirect path in assignment.create.