updates to frontend to account for new request/response structure