We need a function to clear error messages on success