Add TokenAuthentication to API. Add login and auth code to tinwatch.