Update templates to inherit from base.html