added click events to header

switched the header links to click events from links to routes. prevents
the header from being rendered. improves speed and removes page flicker.