fixed problem with encrypted rsa data encoding
finished implementation of unlock profiles