fix some views that raise errors for non authenticated users