added index.erb, fixed database path, passing homepage test