locations model & controller