added session state so that refreshing /status or coming back to it later will resume the UI and not be clowny