added modular auth
Merge pull request #178 from henkloke/modular_auth

Added modular authentication and authorization.