add status code check for health check endpoint