load pins in index action.
added pagination to pins index