login improvements