add timestamp for session
add debug facility