added redirect i case of survey