Logging
Fleshed out the authorization manager