refactor share urls to helper