private void Login()
        {
            try
            {
                var status = CheckStatus.CheckLoginStatus();
                MenuList = new ObservableCollection <MenuItem>();

                var stuff = new PopulateMenu();
                stuff.populateMenu(MenuList, status);
            }
            catch (Exception ex)
            {
                //sdfghjklkjhgfd
            }
        }
        public MasterMainPageViewModel(INavigationService navigationService, IEventAggregator eventAggregator)
        {
            NavigationService = navigationService;
            _eventAggregator  = eventAggregator;

            _eventAggregator.GetEvent <LoginMessage>().Subscribe(Login);

            try
            {
                var status = CheckStatus.CheckLoginStatus();
                //  MenuList = new ObservableCollection<MenuItem>();
                MenuList = new ObservableCollection <MenuItem>();


                var stuff = new PopulateMenu();
                stuff.populateMenu(MenuList, status);
            }
            catch (Exception ex)
            {
                //sdfghjklkjhgfd
            }
        }