rework base.html