modified RecoverPassword