Sign up confirm Cognito in React.js app