Implemented gravatar API with dynamic field setting