Cleaned up user_to_hash