added resource roles; added lookup require plugin