Insulating And Superconducting States In Twisted Bilayer Graphene Near The Magic Angle