Code not woking correctly and i dont know why it wont run the last if statement

I try to avoid String, but "Password" is an "int" - is that expected to work?