added user_id using associate function