community feed logic