The session is looked up by uid through the device API