Changed templates to use base.html