changed getFriends in DB to search both columns