bugfix md/tpl filter at login
make only approved templates selectable