Finished work with authorization.
#8 and #9 can be closed