set URL for fetchPinnedDocuments()
link /add-pin and /remove-pin with buttons