added basic admin functionality to categories