implenment recovery function
recovery box via ajax