Validate password

Closes #21
Merge pull request #29 from hunner/validate_password

Validate password length