Added data to the database and updated the index.html.erb