Solution: After every user has been generated, store in DB and immidately call db to get the last users, this will come with their ID,,, use ID to store the users addresses in the db again...
Do this before proceeding on to the next users generated...