restore hashes on user, method deprecated