First version with authorization.