updated index and base.html, added template tags