cleanup and gravatar fetching for sso added