Pagination copyed in form scott's branch. There were merge conflicts. Slight styling for show pages.