added pagination to reports