adding getPlaces REST endpoint