decoupled http request and response from session context