redefine registation form