securely store user credentials in keychain.