added code into app/views/home/index.html.erb