create API for adding users via social authentication