fixed un-logged-in error woth if friend-with