setup controllers