added localhost exception to rack protection