Added database call to home.erb