In the error-case you redirect to the success URL while in the success case you redirect to "/" ;-)