public bool Login(string userName, string password)
        {
            SQL s = new SQL();

            if (s.loginCheck(userName, password))
            {
                SQL.selectID("select userid from users where username='******'");
                LoginScreen l = new LoginScreen();
                l.Hide();
                MainWindow win = new MainWindow();
                win.Show();
                l.Close();
                win.Main.Content = new ProfileOwner();
                return(true);
            }
            else
            {
                return(false);
            }
            //else
            //{
            //    LoginScreen l = new LoginScreen();

            //    ("Wrong username or password...");
            //}
        }