add different redirect and fix add data to view