add public keys when importing secret keys
null check
Merge pull request #128 from ashh87/master

add public keys when importing secret keys