Example authentication with use of autoloading mechanism