make endpoint and token variables public
this is required for the Query object to function correctly
added a function to get a list of bookmarks