Is ID a number? If so, you might want to compare it to 1, instead of '1' . If it's a string, but is meant to be a number, use this code to convert it to a number:
id= id.to_i
for a whole number or an integer; or:
id= id.to_f
for a floating point number; if not sure whether it's going to be floating-point or integer, you could use the floating-point version.
As for what the code says, it's something like this:
if id is greater than the string '1' , then do this: {
# output the 'your id is greater than 1' message
} else {
if the username is 'mutago' , do this: {
# output the 'login' message
} else {
# output the 'wrong username' message
}
}
As for why it just displays an empty page, it wouldn't make sense to me, why that happens. Can you say what the variable values are, when the blank page is produced?