added deviceID for AppUserSession
added deviceID
merged versions