add #pages to add page numbers to .pagination
change records per page to 10
remove test code
move pagination to the bottom