Added pagination to data and result table