typo
typo and password must be non-blank when joining
added regex