set up api location controller for locations and reviews