create own class for HTTPSession