corrected user ratings to add averages and counts