token auth scheme (in progress)
Merge branch 'master' into beta