Refactored Gravatar mongoose method