added pasword recovery without UI