fixed 404 for entities single when not logged in