deals with notifying the user of invalid server response