added ability for user to upload avatar and not rely on gravatar