This while loop never ends. For example, when i enter a wrong password it will keep on going to the "incorrect password" part over and over again.

```
Logo();
inFile.open("UsernamePassword.txt");
if (!inFile)
    cout << "Unable to Open File";
else 
{
    cout << endl << endl << endl;
    cout << "           Please enter username: ";
    cin >> user;
    cout << "           Please enter password: ";
    cin >> pass;

    while (username != user)
    {
        inFile >> username >> password;

        if (user == username && pass == password)
        {
            cout << endl;
            cout << "Welcome to CherryLunch!" << endl;

            system("pause");
            system("cls");

            MainMenu();

        }
        else
        {           
            cout << endl;
            cout << "           Invalid Username or Password!" << endl << endl;
            system("pause");
            system("cls");
        }
    }
}
inFile.close(); 

```