refactor home_page.rb to header.rb and footer.rb