Added edit, delete and name validations