added health check and warning popup for any failed request to the server