Fixed bug with authorization. Again
Updated example