added user id to global template variables