user refactor + ai manager authority uid