Adding a logout button to your menu requires a dynamic URL, as a nonce is required. UberMenu Conditionals allows you do do this by creating a Custom Menu Item and setting the URL to #umcdu-logout.
Note that the dynamic URL will only be processed for UberMenu Items where a Condition has been set. Generally this would be coupled with the “If user is logged in” condition