added redirect following the ajax call on sample