adding class for template config
make sure permissions maintain