added token security to devices