remove shares endpoint and move shares to secret entity