changing the message for error and good response.