adding security to categories