Finaly got redirect working