Implemented pagination for student details.