fix user friendships, build methods to handle sent and accepted invitations