Token auth

Adds token authentication