The correct message from server is printed out;
statusCode from server is logged, not printed anymore