adding authentication for password field
adding authentication to password, adding check for minimum length of password and updating user_spec