made validations for restaurant