implemented deauthorization method