modified pins index and show views