adding a check to verify if the user has a photo or not