Add logic to disable UI if the server is not available