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();
The while loop is infinite because you never allow the user to input a new password or username. When the if statement fails, it will return to loop header (where it will still be wrong) and continue onwards.
Give the user a chance to enter in a new user/pass combo and then the loop can still be finite (provided the user eventually provides the correct credentials).