added a wrapper for render_template to automatically include the g.identity.user for the navbar