created cognito store to facilitate communication