add register and get external login