working on pagination

still have to make a button to go back and forward through pages and
make the hook to tie in to the server