save user in shared prefs. error parsing