added has_many_through relationship, categories display