removed extraneous code in index.erb