add url and name validations