added controller logic for campaign view