added attribute duration to the session records