Refactor CreateAccountForm.js