so in the address book table, it looks like you have the userid to be used as the foreign key to create the relation to the customers table
your registration page needs to have 2 data assist insert record behavior. The foist one will store data to the customers table and save the id to a session variable.
the second one will store data to the address book table. For the userid column use the session that is created by the first insert behavior