add session
add session and log