added a debounce to processing session data and stopped storing the header in session storage