Created correct associations between galleries, images and users so that shared galleries and images can be differentiated from owned galleries and images