improved checking for password, fixed typo
Merge pull request #2 from Thor77/patch-1

improved checking for password, fixed typo