Because those strings shouldn't be in the logic.

Also the string `success` is only used the the clientside eventSource listener