second version of register form