Moved session join/leave tracing to util and added some more