Added index action and view file