added the gravatar method helper for view