creating the register form