small changes
some fixes. authorization working