changed the html template for report rendering to add pagination