add endpoints to client