implementing base.html