added pagination buttons at the bottom of the dashboard