implemented index.erb