Hi , im making a police database but im stuck on this code..... When i enter a wrong password and username for my program it still says "you are logged in" how do i changed that to say exit the program

thanks.


Code:
if ((password == "ryan1234") || (username == "ryan"))
{
cout <<"You are logged on as :"<< "Ryan Burrows" << endl;
}
else 
{
cout <<"Please exit the program!" << endl;
}