Added index.erb with code