Merge "Implemented tracing of the user-switch event." into main