Modified the register form and its messages