Added logic to do restaurant rating