added getProxyPublicKey and setUserPublicKey