Change Endpoint to Session