added pagination to pins index