complete password function