use the new code to only show the download button if both the client and server are online