rewrite the password local saving, more safe.