added the beginnings of password validation