unshare is done throught ajax