Fixed the password validation which I broke