On my website, I use an ejs file for each page and they all include the partial header. I would like, however, that when the user is authenticated it has a different header. For example: when the user is not authenticated it says Log-in; when the user is already authenticated: controls panel. So let's say I would like to send information to partials from nodejs. I would like to do this without always having to rewrite the header.