changed WithLocation to WithRedirect to make it clearer