updates to get the new login flow working