Added index.html.erb to the code