refactor: authorize request
Merge pull request #1 from matiu/e2

refactor: authorize request