social network and local authentication