Added storage for pubkey and secret in settings panel and stored in db