server side of disposing of shares