refined share link functionality