Connecting to server added to loading