implemented unshare folder functionality