removed old session, request, and response code
removed more old code