add encryption/decryption when communication between app panel and server