Link categories and products through HABTM relationship