edited buttons and links, added base.html