add user_id reference to links table