create proper handlers for "Challenge" and "Login" actions,