adding external login stuff