Logging of token and courseid