public API for the auth module