infrastructure for session and question handling added