refactor application.html.erb with partials