add password validate