add logging in via token