validate name with no space or weird characters