enable and disable links on main window

Apr 14, 2015 at 2:11 PM
I'm really new to this project.
I would like to enable some links in the main window after doing log in function.
My main window have a source to home.xaml which is also the log in page directly
<mui:ModernWindow x:Class="ModernUINavigationApp1.MainWindow"
        Title="mui" IsTitleVisible="True"    

        <mui:LinkGroup DisplayName="Welcome">
                <mui:Link DisplayName="Log In" Source="/Pages/Home.xaml" />
and In home.xaml I have a button to trigger the event which implemented like this:
public partial class Home : UserControl
        public Home()

        private void LogInClick(object sender, RoutedEventArgs e)
              if(Loged in){
                   // add remove this link and add more links to the main window

as you seen in the code, at first the main window will have only one link which is the log-in one;
my question is how to add more links to main window and disable the old one from main window?

or is there better approach of doing log-in function to enable other pages later ?

thank you for helps in advance :D