Trusted Authority implementation - not finished yet