added average rating method for restaurants