Done with the register form savinf the adta to the database