Changed from userInfo to returnedInfo for session