Adding logic to trigger the Login Challenge