add custom validator annotation for password field. this custom validator will check if String contains at least 1 digit, 1 lower char, 1 upper char and has a minimum length of 6.
Added recently create password validator annotation on password attribute, removed older as well.