Made top_bar_layout.html that contains everything for that bar and be extended into other pages also fixed so the active page is still showing correctly with help of endpoints