create entity and add sharing feature