trying to set up a location controller in sails for search