logic fix for group photo when no user