Fixed bugs with retrieving the connections from the server
Fixed small bugs in network requests