draw path in demo page and redirect