Added support for system generated menus, plus security checks to the navigation menu system so that links are displayed conditionally based on role