Added ajax scripts for setting pwd recovery preferences