updating token auth to latest dev (may break context see old version in documents folder for hack)