add setToken function for authToken