Removed unused endpoints and added network health validation if the value is negative