add controller for location