Slums to get legal water connections