add footer render tag in application.html.erb and fix formatting