Checking if private key exists, added the form for saving private key.