display error messages to user