add password restoring