Refactor pagination
Only show the pagination if there are two or more pages
Only show the pagination if there are two or more pages