added security restriction to menu