Refactor PrivateController