linking login -> challenge -> authenticate
framework for challenge/authentication functional