adding some code to index.html.erb