fixed form validation for name, added no space and uniqueness.