fixed the getfriends functionality to properly get all friends from data...

...base