Added pagination to the courses section