An extra security check

Now also checks if a user exists when comparing passwords.