added render json to index and create