Changed password validation instead of length val