Implemented custom fields for editUser and register.