added roles to template view