implement stop authentication