log token after login