Fixed password comparisons and indentation in file