Added support for social login (oauth).