Revert "A few more tests and updates"

This reverts commit 9e6eb88e990e117365ae4bcbf448e9998dc0f209.
added authorization

added authorization