match against error messages in the Devise local file