added controller for social login