added user id and customer id to db