authorization. close issue #1