added hide for anonymous and hide for authenticated users