Microgrid Control And Protection: Stability And Security