Gauge Theory and spontaneous breaking of symmetry in superconductors