added id to db and link to contact by id