security addon for crud
and some other fixes