add category to admin namespace, rework and add test