add ls_session.[h,c]