Fix paginating
Show only N entries on a page, not N+1
Move "per page" value to a const