modified helper methods setup_view and setup_view_with_staffer according to code review feed back