display error messages sent from server