Updated the Managementplugin.php to check the requested controller and action
updated code in managementplugin.php to check the requested controller and action