Updated auth login flow