added keyring support for profile.