added index and show views and destroy function