added httpresponseredirect to view