clear the authenticate logic of client