add session make_request method, refactor imports
fix bug with session error in thread