social login logic and UI