render json
fix service calls
make use of url methods and host/port