fix for build and added session id to log