How do i make dummy username and password for two different log in?

My app have two kind of users and each users have its own unique pages. How can i make 2 kind of dummy data to log in different users.

I tried using simple if and just push the pages if true but when i tried this:-

login(){
       
  username:string;
  password:string;

      if(this.username=="user1" && password=="123")
      this.navCtrl.push(User1Page);
    
     else(this.username=="user2" && this.password=="123")
     {
       this.navCtrl.push(User2Page);
    }

it will open UserPage2 page.

Kindly,
ionicnewbie:)

login(){
       
  username:string;
  password:string;

if(this.username === "user1" && password==="123")
{
  this.navCtrl.push(User1Page);
}
    
    
     else{
       this.navCtrl.push(User2Page);
    }

try with === strict check

Thank you very much, it seems working properly