Added: Two ways authorization. Resolves #12