added api to get average rating for a dish and to save a rating