Access error on hidden pages refixed

Now it uses correct function is_authenticated