constructing UI on register-form.html