Common code to BaseFragment
Login proto UI