added type of account to the register form