added filter method to populateUserAndFriendList