public void LogIn()
        {
            AuthenticatedUsers users = _sessionHelper.Authenticate(Username, Password);

            if (users.Id != 0)
            {
                IWindowManager manager = new WindowManager();
                manager.ShowWindow(new ShellViewModel(_sessionHelper, _events), null, null);
                TryClose();
            }
            else
            {
                MessageBox.Show("Credential not found", "OK");
            }
        }