Added the public key view and private key getting