Got home page working on ActiveRecord