Added dynamic strategy authenticate method