Fixed critical bug

Fixed critical password comparison bug