How to properly structure express.js website with navigation/footer bars (Using handlebars)

I am using node.js along with hbs (handlebars) as my rendering engine (as opposed to Jade). This is my first big site I have created with node and I am wondering how I should go about including a navigation/footer bar. Once a user is logged in, the navigation bar will show other content specific to that user. I don't want to have to query this information every time that a new page is loaded, but rather have it stored in session variables. How can I include this code with my navigation template without having to copy the code to check for session variables and/or perform queries in each route.

My site layout:

enter image description here

The navigation is included in topBar.html and the footer is in footer.html. My get/post code is in each route, and every route includes both the topBar and the footer.