Login Username Display

Hi - trying to display the username on all platform pages after login. I am able to search by email and pull the name from MongoDB and successfully display on the home page via ejs, but unable to transfer that data to other files as the export method only sends the initial data. Any ideas? Do I need to send data and render a layout page instead? Thanks.