Get friend list from database.