Update courses.php

Changed viewcourse to viewCourse in line 144. Previously it was producing a 404 error because it is case sensitive.