Added isPasswordProtected