Adding the method revoke for revoking permissions