Added encrypt and decrypt methods, received messages now display in UI