implemented feature #1 + tweaked the format of logs when rendering a page