Add session handling via an own session thread