You just need to add a new item to your navigation menu. Call it “Logout” (or whatever wording you want to use) and in the “on click” dropdown, select “Sign out”. This will add a Logout option to your navigation menu.
https://docs.mendix.com/refguide/setting-up-the-navigation-structure/#menu-items
I hope this helps.
Thanks Robert.