initial implementation of social authentication