void checkUser()
 {
     UpdateStatus("Loading user settings...");
     if (RegisteredUser)
     {
         UpdateStatus("User " + USER_NAME + " found.");
         if (DATABASE_CONNECTION)
         {
             UpdateStatus("Logging on...");
             LoginCheck login = new LoginCheck(USER_NAME, PASSWORD);
             if (login.LOGIN_SUCESS)
             {
                 UpdateStatus("Success! Loading " + con.AppTitle() + "...please wait");
                 //UpdateStatus(login.HASH); return hash string from web site
                 fadeSplash();     // begin fade out of form
             }
             else
             {
                 UpdateStatus("There was an error logging in.");
             }
         }
         else
         {
             UpdateStatus("No database connection found.");
         }
     }
     else
     {
         UpdateStatus("No user found");
         Reg();     // Registration form
     }
 }