Created the register form