main controller using tripservice