Added validation for item creation/update/deletion