Ruling urges Congress to stop NSA mass surveillance