Cyber Security Enhancement Against Cyber-Attacks On Microgrid Controllers