Added pagination to jobs