Added show index memberships controller api