fixed authorizatoin
Merge branch 'feature-api'