adds validation for name length and uniqueness of restaurant