added get status endpoint