How to add and remove items in navigation menu

I have a navigation menu, and its items depends on the role of the users, as well as if the user is loggen in or not.

I am struggling to maintain adding and removing items and keeping its arrangement in the menu. Could someone please give me an example how to add and remove item in a navigation and maintain its arranement?