Adding private key fetching to node