added paginations to pins index