var password = "TheMaster";
var there = prompt("who is there?");
if(there == "admin"){
var pass= prompt("password: ");
if(pass == password){
alert("welcome");
}else{
alert("wrong password");
};
}else{
alert("i don't know you");
};