refactor. reset form after credit card entry