log id and token of user