token authentication
template app working
Merge branch 'token_authen'