added index and show actions