construct ui on register-form.html