changed friends_using_app method to remove nil friends