bug PUBLIC document view when logged in fixed