dynamically show/hide links in the user menu based on login status