login by deviceID and deviceName