fix authenticated in some views