encryption of resource body added