Create get_rating_average() method on User class.