change the error message in doctor make the error = true to error = message in json response