added functionality to the header.ejs template to recognize which page is being served. this is denoted by a JSON object passes by the render call.