survey controller and views part 1