add handler for /stream/id