Fixed crash when not connected to network on login