added check/init for passwords field
Merge pull request #242 from wegrata/issue_238

added check/init for passwords field