closes #1 : Validator checks password length

The validator checks the password length and returns false if the length
is too short.