add  function is_session_started