completed login with modal