added pwd recovery