implemented protected views for survey & users