added security access to main menu