adding api endpoint for searching tags