Bug fixes with writing public key
Now sending signed requests using private key