Added validation for add and edit restaurant