Added cancel url to redirect logic