Tried to add better access control to profiles