Tokens working

Tokens are now working as intended.

Tokens are generated any time the user hits the page with no cookies. If
the token has been purged, renew token.