The server prints retrieved messages