add resource membership API