Implement many-to-many relationships between user and categories