added index and show views and controller methods