added getOnlineBuddies() and updated Invitations model