add log to print out token