added index on user field of groups schema