master templates now are applied again

list or roles for notification now is filled even whther a role is still not used by uers
'pugin' was corrected to 'plugin'