Fix publisher with search menu, add some login logic