add back ensure authentice