streamlined login flow, fixed alerts