added an if statement for facebookuserphoto