10 - making the header tabs clickable and update the route accordingly