added session duration and miner fix for uuid