Pragmatic Authentication Library: example