refactoring html header bar, moving it to base.html