changed secret token generator