before changing main user