modify password function when create  many users