fixed bug where pending invitations were being show to wrong user. small changes to feed.