added support for social network login