require journal in server.js