added routing logic for genres search