refactor around gravatar