added validation for restaurant