Logout and Restart App button from within app

Is there a way to get the Logout URL or App Restart endpoint from within an app? We’re using flexdashboards which already has a navbar, I would like to save screen space, maybe have these in a drop-down menu from within the shiny app. I see in the thyme page it is a embedded with a dollar sign.