refactor application.html.erb to use partials