Added custom validation to allow spaces in a name