created category domain class and added security features