create password field validation finalized

create password field validation finalized