membership work in API