Deepak : #724 : Changed visit controller to redirect only on success