Fixed redirection of courses in university.hmtl and div by zero error in course view