Superconductivity, correlated insulators, and Wess-Zumino-Witten terms in twisted bilayer graphene