updated user model to have sent and received invitations