proper fix for getting the shared item if no user is logged in