basic social auth implementation