Added simple password validation

Checks password length