setup the person resorce nested with person type