created a helper method for gravatar for id and url