changes to support adding devices to users
added status endpoint