Created middleware to set the session state.  Changed nancy to get the session at the beginning of the pipeline and to save changes and dispose of the session at the end of the pipeline