added httpresponses to views