Bugfixes

Added methods for authorization and fixed a question