Gate control of superconductivity