added getAvgRating to return a user's average rating (Double), based on userID (Integer)