Taking the title from the variable passed in res.render and displaying Admin button only to the Admin