Updated Courses to cater for searc and order by