local copy of user data is now stored correctly in json format