added index and show actions and templates