url generation for challenge back end logic