add code for gravatar image and sidebar