Display just if connected
Adding file upload js