Added `redirect` demo in basic example
minor modification