userinfo: add form validation.