Added method for fetching hash from user data