The variable collectionHolder must be assigned inside the jQuery ready function, but must be declared outside, since it is used also in other functions. I have put back the '$' in front of names of variables having jQuery objects as values and for uniformity, also added it to collectionHolder.
Also, for the session token: identify what the "weird" hex number is, and and replace "weird" with "long" (a more apt description).
Voters have nothing to do with authentication, only authorization. I have updated the terminology as such. I was caught by this when trying to build custom authentication due to the terminology of this page.