Changed password validation function name