updated base.html with log block and headers block w script block