create token file before start controller