Implemented starting xhr connection