updated templates to extend base.html