Added findByCategory functionality