Merge "Add a system API to get the main user."