Added pagination for courses and lesson plans