added index action and view