Refactor home.html.erb