Add authenticate into wrapper