change error message for long messages

also change route to /messages